package io.xccit.aischool.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import io.xccit.aischool.entity.Admin;
import io.xccit.aischool.entity.LoginForm;

/**
 * @author CH_ywx
 * @date 2023-06-06
 * @description
 */
public interface IAdminService extends IService<Admin> {
    Admin login(LoginForm loginForm);

    Admin getUserByID(Long userId);

    Page getAdminPage(Page<Admin> adminPage, String adminName);
}
